package com.serialize.api;

import com.serialize.domain.Student;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by buguniao on 15/12/14.
 */
public class StudentServiceImpl implements StudentService {
    public List<Student> getStudentlist() throws Exception {
        ArrayList<Student> list = new ArrayList<Student>();
        list.add(new Student("小黑",20));
        list.add(new Student("小红",10));
        list.add(new Student("小明",30));

        return list;
    }
}
